<form id="dialog-add-content" class="dialog-select-supplier" name="supplierForm" novalidate>
    <div>
        <div class="table-header lh30 pb5 clearfix">
            <span class="fl f14">供应商列表</span>
                <input type="text" class="fl input-text w200 ml3" placeholder="供应商全称/简称"
                       ng-model="searchKey"
                       ng-enter="doSearch()">
                <button class="btn" ng-click="doSearch()">查询</button>
        </div>
        <div class="table-wrap mh60 mt10" style="min-height: 100px;">
            <table class="table" id="grid">
                <!-- 表头-->
                <thead>
                <tr>
                    <th style="width: 40px;text-align: center;">序号</th>
                    <th style="width: 100px;">供应商ID</th>
                    <th style="width: 200px;">供应商全称</th>
                    <th style="width: 150px;">供应商简称</th>
                </tr>
                </thead>
                <!-- 表格内容-->
                <tbody>
                <tr ng-repeat="record in suppliers" class="table-tr-common" ng-click="rowClick(record,$index+1)">
                    <td style="text-align: center"><p ng-bind="$index + 1 + startPageIndex"></p></td>
                    <td>
                        <p ng-bind="record.supplier_id"></p>
                    </td>
                    <td>
                        <p ng-bind="record.company_name"></p>
                    </td>
                    <td>
                        <p ng-bind="record.short_name"></p>
                    </td>
                </tr>
                </tbody>
            </table>
            <div class="no-data" ng-if="suppliers.length == 0"><span>暂无数据</span></div>
        </div>
        <div id="pagination" class="pagination"></div>
    </div>
</form>